package com.trade.data;

import java.util.Date;
import java.util.List;
import com.trade.data.type.*;

public class HistoricalDataFilterVO extends HistoricalDataVO{
	private Date fromDate;
	private Date toDate;

	//For Historical data
	private String segment; //CM for Equirty and OI for Index
	private String series;

	//For Intra day data
	private List<String> tickerList;
	private Integer noOfPeriod ; //in days
	private IntervalTimeTypes interval; // should be seconds
	private boolean historyOrIntraday;


	public Date getFromDate() {
		return this.fromDate;
	}

	public Date getToDate() {
		return this.toDate;
	}


	public String getSegment(){
		return this.segment;
	}

	public String getSeries(){
		return this.series;
	}

	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}

	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}

	public void setSegment(String segment){
		this.segment=segment;
	}

	public void setSeries(String series){
		this.segment=series;
	}

	public List<String> getTickerList() {
		return tickerList;
	}

	public void setTickerList(List<String> tickerList) {
		this.tickerList = tickerList;
	}

	public Integer getNoOfPeriod() {
		return noOfPeriod;
	}

	public void setNoOfPeriod(Integer noOfPeriod) {
		this.noOfPeriod = noOfPeriod;
	}

	public IntervalTimeTypes getInterval() {
		return interval;
	}

	public void setInterval(IntervalTimeTypes interval) {
		this.interval = interval;
	}

	public boolean isHistoryOrIntraday() {
		return historyOrIntraday;
	}

	public void setHistoryOrIntraday(boolean historyOrIntraday) {
		this.historyOrIntraday = historyOrIntraday;
	}

}